package com.mrx.xfriendship.dao;

import com.mrx.xfriendship.model.po.RolePO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Mr.X
 * @since 2023-01-14 10:50:30
 */
@Mapper
public interface RoleMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(RolePO record);

    int insertSelective(RolePO record);

    RolePO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RolePO record);

    int updateByPrimaryKey(RolePO record);

    RolePO selectByRole(String role);

}
